import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/Home.vue'
import Login from '../views/Login.vue'
import Register from '../views/Register.vue'
import ForgetPassword from '../views/ForgetPassword.vue'
import User from '../views/User.vue'


const routes = [
  { path: '/Home', component: Home },
  { path: '/', component: Login },
  { path: '/register', component: Register },
  { path: '/forget-password', component: ForgetPassword },
  { path: '/user', component: User },
  {path: '/login', component: Login}

]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
